std::array::begin, std::array::cbegin
From Cppreference
| C++ Standard Library | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Containers library | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| std::array | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| iterator begin();
| (C++0x feature) | |
| const_iterator begin() const;
| (C++0x feature) | |
| const_iterator cbegin() const;
| (C++0x feature) | |
Returns an iterator to the first element of the container.
Contents |
Parameters
(none)
Return value
iterator to the first element
Complexity
constant
See also
| returns an iterator to the end (public member function) | |